package com.dyoud.api.message.dto;

import java.io.Serializable;
import java.util.Date;



public class MessageDto implements Serializable {
    /**
     * 消息ID
     */
    private Long messageId;

    /**
     * 消息类型 1:系统消息 2:收益权消息 3.留言回复消息
     */
    private Byte type;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 1:查看 2:未查看
     */
    private Byte isLook;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 回复内容
     */
    private String replayContent;
    
    /**
     * 用户电话
     *
     */
    private String phone;
    
    /**
     * 消息所属的用户Id
     * @return
     */
    private Long userId;
    
    /**
     * 消息所属的店铺Id
     * 
     */
    private Long shopId;
    
    /**
     * 系统消息的类型
     * 
     */
    private Byte userType;
    
    /**
     * 唯一key
     * 
     */
    private String onlyKey;

	public String getOnlyKey() {
		return onlyKey;
	}

	public void setOnlyKey(String onlyKey) {
		this.onlyKey = onlyKey;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}


	public Byte getUserType() {
		return userType;
	}

	public void setUserType(Byte userType) {
		this.userType = userType;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	private static final long serialVersionUID = 1L;

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Byte getIsLook() {
        return isLook;
    }

    public void setIsLook(Byte isLook) {
        this.isLook = isLook;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getReplayContent() {
        return replayContent;
    }

    public void setReplayContent(String replayContent) {
        this.replayContent = replayContent;
    }

	@Override
	public String toString() {
		return "MessageDto [messageId=" + messageId + ", type=" + type + ", content=" + content + ", title=" + title
				+ ", isLook=" + isLook + ", createTime=" + createTime + ", replayContent=" + replayContent + ", phone="
				+ phone + ", userId=" + userId + ", shopId=" + shopId + ", userType=" + userType + ", onlyKey="
				+ onlyKey + "]";
	}
    
    
}